package dto;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * 
 * @author Zsolt
 * 
 */
public class RepositoryDTO implements Serializable {

	private static final long serialVersionUID = 1L;
	private String repName;
	private String userID;
	private int id;
	private String repID;
	private String supName;
	private ArrayList<String> allRepositories = new ArrayList<String>();
	private boolean success;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getRepName() {
		return repName;
	}

	public void setRepName(String repName) {
		this.repName = repName;
	}

	public String getUserID() {
		return userID;
	}

	public void setUserID(String userID) {
		this.userID = userID;
	}

	public String getRepID() {
		return repID;
	}

	public void setRepID(String repID) {
		this.repID = repID;
	}

	public String getSupName() {
		return supName;
	}

	public void setSupName(String supName) {
		this.supName = supName;
	}

	@Override
	public String toString() {
		return "RepositoryDTO [repName=" + repName + ", repID=" + repID + "]";
	}

	public ArrayList<String> getAllRepositories() {
		return allRepositories;
	}

	public void setAllRepositories(ArrayList<String> allRepositories) {
		this.allRepositories = allRepositories;
	}

	public boolean getSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

}
